n = int(input())
print(f"每人分得{(n//5)}个苹果.")
print(f"一共分出去{(n//5) *5}个苹果.")
print(f"交还老师{n%5}个苹果.")